cd nginx

tar -xzf nginx-1.27.0.tar.gz

cd nginx-1.27.0

./configure

make

make install

rm -rf /usr/local/nginx/html

ln -s /root/dist /usr/local/nginx/html

cp ../nginx.conf /usr/local/nginx/conf/
